/**
 * @Package: turnstile
 * @Title: TurnstileFSM.java
 * @Author: zhangzuoqiang
 * @Time: 11:53:04 AM Aug 31, 2011
 * @Version: 
 */
package turnstile;

/**
 * @Description:
 * @Author: zhangzuoqiang
 * @Date: Aug 31, 2011
 */
public class TurnstileFSM extends TurnstileContext implements Turnstile {

	private static final long serialVersionUID = 1L;

	public TurnstileFSM(Turnstile owner) {
		super(owner);
	}

	@Override
	public void unlock() {
		System.out.println("unlock");
	}

	@Override
	public void alarm() {
		System.out.println("alarm");
	}

	@Override
	public void lock() {
		System.out.println("lock");
	}

	@Override
	public void thankyou() {
		System.out.println("thankyou");
	}
}